//
//  RGMainPageListCell.h
//  RedGrass
//
//  Created by wukong on 2018/11/26.
//  Copyright © 2018年 hongcaosp. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "RGRecommendVideoModel.h"

NS_ASSUME_NONNULL_BEGIN

static const NSInteger kAwemeListLikeCommentTag    = 0x01;//评论
static const NSInteger kAwemeListLikeShareTag      = 0x02;//分享
static const NSInteger kAwemeListLikeFocusTag      = 0x03;//关注，取消关注
static const NSInteger kAwemeListLikeUserIconTag   = 0x04;//用户图像
static const NSInteger kAwemeListLikeFavoriteTag   = 0x05;//喜欢
static const NSInteger kAwemeListVedioViewTapTag   = 0x06;//用户点击了视频view区域

@interface RGMainPageListCell : UITableViewCell

@property (copy, nonatomic) void (^actionItemClickBlock)(NSInteger tag);
@property (strong, nonatomic) RGRecommendVideoModel *videoModel;
@property (strong, nonatomic,readonly) UIView *vedioGroudView;
@property (strong, nonatomic,readonly) NSString *vedioUrl;
@property (assign, nonatomic) BOOL isShowPauseAnimation;
@property (assign, nonatomic) BOOL isShowBottomToolBar;


//关注动画
-(void) begainFocusAnimationWithIsFocus:(BOOL)isFocus;



//喜欢动画
-(void) begainFavoriteAnimationWithIsFavorite:(BOOL)isFavorite;

-(void) showFavoriteUIStyleWhenIsFavorite:(BOOL)favorite;



//更新评论数
-(void) updateCommentCounts;

//更新转发数
-(void) updateForwardCounts;


@end

NS_ASSUME_NONNULL_END
